﻿using Assistant.Tools;
using Sunny.UI;
using System.Windows.Forms;

namespace Assistant
{
    public partial class FormTools : UIAsideMainFrame
    {
        public FormTools()
        {
            InitializeComponent();
            InitializePages();
        }

        private void InitializePages()
        {
            int pageIndex = 1000;
            TreeNode parent = Aside.CreateNode("报表", 61646, 24, pageIndex);
            Aside.CreateChildNode(parent, 61498, 24, AddPage(new FormReportList(), ++pageIndex));
            //Aside.CreateChildNode(parent, 61573, 24, AddPage(new FormReportModel(), ++pageIndex));
            //Aside.CreateChildNode(parent, 61888, 24, AddPage(new FormReportDataSets(), ++pageIndex));


            pageIndex = 2000;
            parent = Aside.CreateNode("语言", 61867, 24, pageIndex);

            Aside.SelectFirst();
        }
    }
}
